﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web;
namespace HTML
{
    public class clsFomat 
    {
        public static string WriteAlert(string message)
        {
            string data = "";
            data += "<div class='boxmain_mes'>";
            data += "<img src='../ImagesLogin/icon_war.png' class='img_war' width='16px' height='16px' />";
            data += "<span>";
            data += "<b>";
            data += message.ToString();
            data += "</b>";
            data += "</span>";
            data += "</div>";
            return data;
        }
        #region[OpenDialog]
        //public void OpenDialog(string dialogId)
        //{
            
        //    var sb = new StringBuilder();
        //    sb.Append("$('" + dialogId + "').dialog('open');");
        //    ScriptManager.RegisterStartupScript(Page, Page.GetType(),
        //        "scriptKey", sb.ToString(), true);
        //}
        //public void CloseDialog(string dialogId)
        //{
        //    var sb = new StringBuilder();
        //    sb.Append("$('" + dialogId + "').dialog('close');");
        //    httpcuScriptManager.RegisterStartupScript(Page, Page.GetType(),
        //        "scriptKey", sb.ToString(), true);
        //}

        #endregion
    }
}
